package com.cmc.cloud.cmclink.doc.rpcservice.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.hibernate.validator.constraints.Length;

/**
 * 船舶基础数据
 * 
 * @author dev89
 * @date 2025/07/18 17:28
 **/
@Schema(description = "港口冗余字段")
@Data
@EqualsAndHashCode
@ToString(callSuper = true)
public class VesselNameBaseVo {
    @Schema(description = "船名编码")
    @Length(max = 20, message = "approvepermissionconfig.vesselcode.length")
    private String vesselCode;

    @Schema(description = "船名英文名")
    private String vesselNameEn;

    @Schema(description = "船名中文名")
    private String vesselNameCn;

    @Schema(description = "状态")
    private Boolean enabled;
}
